<template>
  <div class="main-tab-bar">
    <tab-bar>
      <tab-bar-item push="/home"  activeColor="#647CFA">
        <img slot="item-icon" src="../../assets/tabbarimg/home_n@2x.png" alt />
        <img slot="item-icon-active" src="../../assets/tabbarimg/home_s@2x.png" alt />
        <div slot="item-text">首页</div>
      </tab-bar-item> 
       <tab-bar-item push="/video" activeColor="#647CFA">
        <img slot="item-icon" src="../../assets/tabbarimg/shipin_n@2x.png" alt />
        <img slot="item-icon-active" src="../../assets/tabbarimg/shipin_s@2x.png" alt />
        <div slot="item-text">视频</div>
      </tab-bar-item> 
       <tab-bar-item push="/tutorials" activeColor="#647CFA">
        <img slot="item-icon" src="../../assets/tabbarimg/jiaocheng_n@2x.png" alt />
        <img slot="item-icon-active" src="../../assets/tabbarimg/jiaocheng_s@2x.png" alt />
        <div slot="item-text">教程</div>
      </tab-bar-item> 
       <tab-bar-item push="/commodity" activeColor="#647CFA">
        <img slot="item-icon" src="../../assets/tabbarimg/shangpin_n@2x.png" alt />
        <img slot="item-icon-active" src="../../assets/tabbarimg/shangpin_s@2x.png" alt />
        <div slot="item-text">商品</div>
      </tab-bar-item> 
       <tab-bar-item push="/my" activeColor="#647CFA">
        <img slot="item-icon" src="../../assets/tabbarimg/my_n@2x.png" alt />
        <img slot="item-icon-active" src="../../assets/tabbarimg/my_s@2x.png" alt />
        <div slot="item-text">我的</div>
      </tab-bar-item>  

    </tab-bar>
  </div>
</template>

<script>
import TabBar from '../common/tabbar/TabBar'
import TabBarItem from '../common/tabbar/TabBarItem'
export default {
  name: 'MainTabBar',
  components: {
    TabBar,
    TabBarItem
  }
}
</script>

<style lang="less" scoped>
</style>
